package com.ruicar.afs.cloud.admin;


import com.ruicar.afs.cloud.common.core.security.annotation.EnableAfsFeignClients;
import com.ruicar.afs.cloud.common.core.security.annotation.EnableAfsResourceServer;
import com.ruicar.afs.cloud.common.swagger.annotation.EnableAfsSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Configuration;

/**
 * @author Fzero
 * @date 2019-01-21
 * 用户统一管理系统
 */
@EnableAfsSwagger2
@SpringCloudApplication
@EnableAfsFeignClients
@EnableAfsResourceServer(details = true)
@Configuration
@EnableDiscoveryClient
@EnableCaching
public class AfsAdminApplication {
	public static void main(String[] args) {
		SpringApplication.run(AfsAdminApplication.class, args);
	}
}
